package rong.java.test;

import org.omg.CORBA.PUBLIC_MEMBER;

public class MethodParam {
//	public static void main(String[] args){
//		String p1 = "aaa";
//		Method1.method1(p1);
//		System.out.println(p1);
//	}
//}
//class Method1 {
//	public static void method1(String param1){
//		param1 = "hello";
//	}
	
	
//	public class MethodParam {
		static String p1 = "aaa";

	public static void main(String[] args){
		MethodParam.method1(p1);
		System.out.println(p1);
	}


	public static String method1(String param1){
		param1 = "hello";
		p1=param1;
		return p1;
	}
}
	
	
//}

